<?php
//部件类型

namespace app\admin\controller;

class ComponentProcesses extends Base
{
    public function filter(&$map, &$field)
    {
        $field = 'id,name';
        $map = [['status', '=', 1]];
    }
}